package com.youhui.weixin.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * Created by https://github.com/kuangcp on 17-11-14  下午4:28
 *
 * @author kuangcp
 */
@Data
@Entity
public class GoodsLink {
    @Id
    private Long goodsId;
    @Column(columnDefinition = "text comment '原长链接'")
    private String link;
//    private Long clickNum;

    public GoodsLink(){}
    public GoodsLink(Long goodsId, String link) {
        this.goodsId = goodsId;
        this.link = link;
    }
}
